package ecmnext.action;


import java.util.ArrayList;

public class Joueur {
	private int NbreActions;
	private Double Argent;
	private String Nom;
	private ListeOrdres ListePerso = new ListeOrdres();
	
	public String getNom() {
		return Nom;
	}

	public void setNom(String nom) {
		Nom = nom;
	}

	public int getNbreActions() {
		return NbreActions;
	}

	public void setNbreActions(int nbreActions) {
		NbreActions = nbreActions;
	}

	public Double getArgent() {
		return Argent;
	}

	public void setArgent(Double argent) {
		Argent = argent;
	}

	public Joueur(String Nom, double Argent)
	{
		this.Nom = Nom;
		this.Argent = Argent;
	}
	
	public void addOrdre(Ordre o){
		ListePerso.add(o);
	}
	
	public void DelOrdre(Ordre o){
		ListePerso.DelOrdre(o);
	}
	
	public ArrayList<Ordre> getOrdres(){
		return ListePerso.getListe();
	}
}
